// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './form-10-form-model';

export class FormControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'orderuid', 'ibizsample0017name', 'ordertype', 'ordertime', 'memo', 'ibizsample0017id'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.ibizsample0017id;
    }
    set srfkey(value: any) {
        this.$DO.ibizsample0017id = value;
    }
    get srfmajortext() {
        return this.$DO.ibizsample0017name;
    }
    set srfmajortext(value: any) {
        this.$DO.ibizsample0017name = value;
    }
    get orderuid() {
        return this.$DO.orderuid;
    }
    set orderuid(value: any) {
        this.$DO.orderuid = value;
    }
    get ibizsample0017name() {
        return this.$DO.ibizsample0017name;
    }
    set ibizsample0017name(value: any) {
        this.$DO.ibizsample0017name = value;
    }
    get ordertype() {
        return this.$DO.ordertype;
    }
    set ordertype(value: any) {
        this.$DO.ordertype = value;
    }
    get ordertime() {
        return this.$DO.ordertime;
    }
    set ordertime(value: any) {
        this.$DO.ordertime = value;
    }
    get memo() {
        return this.$DO.memo;
    }
    set memo(value: any) {
        this.$DO.memo = value;
    }
    get ibizsample0017id() {
        return this.$DO.ibizsample0017id;
    }
    set ibizsample0017id(value: any) {
        this.$DO.ibizsample0017id = value;
    }
    // 界面主键标识
    get ibizsample0017() {
        return this.$DO.ibizsample0017id;
    }

    set ibizsample0017(value: any) {
        this.$DO.ibizsample0017id = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof FormControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            orderuid: this.$DO.orderuid,
ibizsample0017name: this.$DO.ibizsample0017name,
ordertype: this.$DO.ordertype,
ordertime: this.$DO.ordertime,
memo: this.$DO.memo,
updatedate: this.$DO.updatedate,
ibizsample0017id: this.$DO.ibizsample0017id,
        }
	}

}